/*******************************************************************************
 * Copyright (c) 2009-2011 ETCORE Labs. All rights reserved. 
 * 
 * This software is the confidential and proprietary information of ETCORE Labs.
 * You shall not disclose such confidential information and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with ETCORE Labs. 
 * 
 * Support can be obtained from support forums at:  http://www.etcore.com/
 * /
 *******************************************************************************/
package etcore.webapp.grouptalk.common.object;

/**
 * An instance of Comment is a persistence object representing a Message's
 * comment.
 * 
 * @author ETCORE GroupTalk Developers
 * 
 */
public class Comment implements java.io.Serializable {

	private static final long serialVersionUID = -4161825831868341537L;
	private Integer id;
	private Integer gmid;// message id
	private String content;
	private String userName;
	private String time;
	private Integer flag = 0;


	public Comment() {
	}
	public Comment(Integer id,Integer gmid,String content,String userName,String time) {
		this.id=id;
		this.gmid=gmid;
		this.content=content;
		this.userName=userName;
		this.time=time;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGmid() {
		return this.gmid;
	}

	public void setGmid(Integer gmid) {
		this.gmid = gmid;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getTime() {
		return this.time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
}